package com.hssy.wululuaplan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 考勤表
 * </p>
 *
 * @author Mr.Hongtao
 * @since 2024-02-28
 */
@Getter
@Setter
@TableName("attendance")
@ApiModel(value = "Attendance对象", description = "考勤表")
public class Attendance implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("课程计划id")
    @TableField("schedule_id")
    private Integer scheduleId;

    @ApiModelProperty("已考勤的学生id")
    @TableField("student_id")
    private Integer studentId;

    @ApiModelProperty("已考勤的学生姓名")
    @TableField("student_name")
    private String studentName;

    @ApiModelProperty(value = "状态", notes = "0：签到中 1：已完成")
    @TableField("status")
    private Integer status;


}
